package app.repositories;

import java.util.List;

import app.models.Credito;

public interface CreditoRepository {

	void create(Credito entity);
	
	Credito update(Credito entity);
	
	void delete(Credito entity);
	
	Credito find(Long id);
	
	List<Credito> findAll();
	
	List<Credito> findByPeriod(String dataInicial, String dataFinal);
	
	List<Credito> findByFilter(String filter);
	
	List<Credito> findAllOrdered();
	
	List<Credito> findLastCreditos();
	
}
